import { defineStore } from 'pinia';

export const usePageHeaderStore = defineStore('pageHeader', {
  state: () => {
    return {
      route: [
        { path: '/home', name: '首页' },
      ]
    }
  },
  actions: {
    changePageHeader (params) {
      this.route = params;
    }
  }
});
